﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:MotionRemix"
    xmlns:primitives="clr-namespace:MotionRemix.Panels.Primitives">

    <local:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />


    <Style TargetType="local:ActiveTileList">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:ActiveTileList">
                    <Grid x:Name="layoutRootGrid">
                        <primitives:TileDecorator 
                            x:Name="Decorator" 
                            ClipToBounds="True"
                            TargetIndex="{TemplateBinding CurrentItemIndex}">
                            <primitives:ActiveTilePanel IsItemsHost="True" />
                        </primitives:TileDecorator>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
   

</ResourceDictionary>
